package com.wimcorp.magic.dataloader.dto;

import java.io.Serializable;



public class AbilityDTO  implements Serializable {

	private static final long serialVersionUID = 1L;

	
	private Long id;
	
	private String ability;

	public AbilityDTO() {

	}

	public AbilityDTO(String ability) {
		this.ability = ability;
	}

	public String getAbility() {
		return ability;
	}

	public void setAbility(String ability) {
		this.ability = ability;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public boolean equals(Object o) {
		if (!(o instanceof AbilityDTO)) {
			return false;
		}
		return ((AbilityDTO) o).getAbility().equals(ability);
	}

	@Override
	public int hashCode() {
		return ability.hashCode();
	}

}
